package com.cysyz.module.permission.stateless.realm;

import java.util.Map;

public interface PermissionService {
    String findAllPermissions(String appKey);

    boolean isBizIdAndKeyBelongSamePerson(String partnerCode, String appKey);

    boolean checkSign(Map<String, String[]> params, String clientDigest, String appSecret);

    boolean isAppKeyExist(String appKey);

    String getSecret(String appKey);
}
